YAYDP\Core\Rule\Cart_Discount\YAYDP_Simple_Discount S

Total Complexity 15
Dependencies 4
Dependents 0
Total lines 143
Lines of code 97
Logical lines of code 42
Comment lines 35
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
get_total_discount_amount()
S
57 4 17
create_possible_adjustment_from_cart()
S
63 3 11
get_coupon_data()
S
53 2 25
get_coupon_content()
S
56 2 20
get_encouragements()
S
61 2 13
get_adjustment_amount()
S
66 1 8
add_coupon()
S
80 1 3